const Sequelize = require("sequelize");
const db = require('../DBConfig/config');

const TouristComments = db.define('tourist_comments', {
    id: {
        type: Sequelize.INTEGER(11),
        allowNull: false,
        primaryKey: true,
        autoIncrement: true
    },
    tourist_place_id: {
        type: Sequelize.INTEGER(11),
    },
    comment_num: {
        type: Sequelize.INTEGER(11),
    },
    payee_num: {
        type: Sequelize.INTEGER(11),
    }
}, {
    freezeTableName: true,
    timestamps: false
})

module.exports = TouristComments;